package com.erp.erp_dao.Blueprint;

import com.erp.erp_entitys.Blueprint.BlueprintEntity;
import com.erp.erp_entitys.Blueprint.BlueprintProductEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface IBlueprintProductDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(BlueprintProductEntity record);

    int insertSelective(BlueprintProductEntity record);

    BlueprintProductEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlueprintProductEntity record);

    int updateByPrimaryKey(BlueprintProductEntity record);

    List<BlueprintProductEntity> selectByPage(Map map);

    List<BlueprintProductEntity> selectProductByBid(Integer bid);

    int deleteByBpId(@Param("idList")List<Integer> idList);
}